﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Temas/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="MisDatos.aspx.cs" Inherits="Talento21.Pages.Empresa.MisDatos" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <fieldset class="form-horizontal">
        <asp:FormView ID="FormView1" runat="server" DataSourceID="ObjectDataSource1">
            <ItemTemplate>
                <div class="control-group">
                    <label class="control-label">
                        Rut Empresa:</label>
                    <div class="controls">
                        <asp:TextBox ID="Emp_rutTextBox" runat="server" Text='<%# Bind("Emp_rut") %>' CssClass="input-small" />
                        -
                        <asp:TextBox ID="DvTextBox" runat="server" Text='<%# Bind("Dv") %>' CssClass="input-mini" />
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">
                        Razon Social:</label>
                    <div class="controls">
                        <asp:TextBox ID="RazonSocialTextBox" runat="server" Text='<%# Bind("RazonSocial") %>' />
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">
                        Dirección:</label>
                    <div class="controls">
                        <asp:TextBox ID="DireccionTextBox" runat="server" Text='<%# Bind("Direccion") %>' />
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">
                        Fono Celular:</label>
                    <div class="controls">
                        <asp:TextBox ID="FonoCelularTextBox" runat="server" Text='<%# Bind("FonoCelular") %>' />
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">
                        Correo:</label>
                    <div class="controls">
                        <asp:TextBox ID="CorreoTextBox" runat="server" Text='<%# Bind("Correo") %>' />
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">
                        Cant. Trabajadores:
                    </label>
                    <div class="controls">
                        <asp:TextBox ID="CantTrabajadoresTextBox" runat="server" Text='<%# Bind("CantTrabajadores") %>' />
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">
                        Giro:</label>
                    <div class="controls">
                        <asp:TextBox ID="Id_GiroTextBox" runat="server" Text='<%# Bind("InfGiros.GrGlossa") %>' />
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">
                        Región:</label>
                    <div class="controls">
                        <asp:TextBox ID="Id_RegionTextBox" runat="server" Text='<%# Bind("Region.Nombre") %>' />
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">
                        Provincia:</label>
                    <div class="controls">
                        <asp:TextBox ID="Id_ProvinciaTextBox" runat="server" Text='<%# Bind("Provincia.Nombre") %>' />
                    </div>
                </div>
                <div class="control-group">
                    <label class="control-label">
                        Comuna:</label>
                    <div class="controls">
                        <asp:TextBox ID="Id_ComunaTextBox" runat="server" Text='<%# Bind("Comuna.Nombre") %>' />
                    </div>
                </div>
            </ItemTemplate>
        </asp:FormView>
    </fieldset>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" SelectMethod="ObtenerEmpresaPorRut"
        TypeName="Talento21.Negocio.Servicio.SrvEmpresa">
        <SelectParameters>
            <asp:SessionParameter DefaultValue="" Name="rutEmpresa" SessionField="emp_rut" Type="Int32" />
        </SelectParameters>
    </asp:ObjectDataSource>
</asp:Content>
